package com.admore.demo;

import android.util.Log;

import androidx.multidex.MultiDex;

import com.admore.demo.manager.SdMoreManager;
import com.admore.sdk.sdk.AdMoreSdk;
import com.zcy.base.app.BaseApp;

    public class App extends BaseApp {

        public static final String AD_MORE_APP_ID = "5408534";
        public static final String AD_MORE_APP_NAME= "智慧城市APP_android";
        public static final String AD_MORE_BANNER_ID= "102475301";
        public static final String AD_MORE_DRAW_ID= "102382334";
        public static final String AD_MORE_SPLASH_ID= "102384973";
        public static final String AD_MORE_SPLASH_ADN_ID= "888676658";
        public static final String AD_MORE_REWARD_ID= "102385042";
        public static final String AD_MORE_INTERSTITIAL_ID= "102385141";
        public static final String AD_MORE_NATIVE_ID= "102383990";
        @Override
    public void onCreate() {
        super.onCreate();
        //异步注册，splash 逻辑需要自行处理
        SdMoreManager.init(this, App.AD_MORE_APP_NAME, App.AD_MORE_APP_ID, false,new AdMoreSdk.InitCallBack() {
            @Override
            public void success() {
                Log.d("App", "SdMoreManager.init success");
            }

            @Override
            public void fail(int errCode, String msg) {
                Log.d("App", "SdMoreManager.init adInitFailed" + msg);
            }
        });
        MultiDex.install(this);

    }
}
